home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / bindings / fun / fillpara.r < prev    next >
Encoding:
Text File  |  1996-09-27  |  2.7 KB  |  102 lines

  1. @ref-see-also See also in %s.
  2. @{{{}}}
  3. @{{{  fillpara-reference-file
  4. @if-using ( complete )
  5. @{{{  @fillpara-ref Description
  6. @if-using ( complete )
  7. This library offers the possibility, for automatic line break and block
  8. reformating of text files.
  9. @fi
  10. @}}}
  11. @fi
  12. @if-using ( complete fill-para-called set-col-called set-mode-called wrap-called add-wrap-called delete-wrap-called )
  13. @{{{  @fillpara-ref Functions and macros
  14. @if-using ( complete fill-para-called )
  15. @{{{  @fillpara-ref fill-paragraph
  16. Fill all lines from cursor position to a end-of-block line.
  17.  
  18. @ref-start-item end-of-block:
  19. @ref-start-item *
  20. A line using nother indentation
  21. @ref-end-item
  22. @ref-start-item *
  23. A line startting with the current begin-fold-comment string
  24. @ref-end-item
  25. @ref-start-item *
  26. If fill mode shrink and language Roff are active, a line starting with `.'.
  27. @ref-end-item
  28. @ref-start-item *
  29. If fill mode shrink and language Tex are active, a line starting with `\'.
  30. @ref-start-item *
  31. @ref-end-item
  32. If language OCL (User:`;OCL',`') is active, a line starting with `@'.
  33. @ref-end-item
  34. @ref-end-item
  35.  
  36. If fill mode block is active, all but the last line are filled with spaces,
  37. to match the right margin exactly. Tabs inside the filled region will be
  38. replaced by spaces.
  39. @}}}
  40. @fi
  41. @if-using ( complete set-col-called )
  42. @{{{  @fillpara-ref set-fill-column
  43. Define the right margin for fill-paragraph. The value is given by:
  44.  
  45. @ref-start-item
  46. modify-behaviour, if greater then 0,
  47. @ref-end-item
  48. @ref-start-item or
  49. by the value of repeat-argument,
  50. @ref-end-item
  51. @ref-start-item or
  52. the cursor x position, if greater than 20,
  53. @ref-end-item
  54. @ref-start-item or
  55. by your input (set-fill-column prompts for).
  56. @ref-end-item
  57. @}}}
  58. @fi
  59. @if-using ( complete set-mode-called )
  60. @{{{  @fillpara-ref set-fill-column
  61. Offers a menu, for selecting the fill mode (shrink or block) and the right
  62. fill margin.
  63. @}}}
  64. @fi
  65. @if-using ( complete wrap-called )
  66. @{{{  @fillpara-ref wrap-word
  67. Can be used to replace the single space.
  68.  
  69. If used at end of a line, behind the right fill margin, the last word
  70. will be moved to the next line and a space will be added.
  71.  
  72. In front of fill margin and if mode wrap is not active, a single space
  73. will be added.
  74. @}}}
  75. @fi
  76. @if-using ( complete add-wrap-called )
  77. @{{{  @fillpara-ref add-mode-wrap
  78. Activate automatic line wrapping. Mark the mode with `Wrap' or `W' in
  79. the statusline.
  80. @}}}
  81. @fi
  82. @if-using ( complete delete-wrap-called )
  83. @{{{  @fillpara-ref delete-mode-wrap
  84. Switch of automatic line wrapping.
  85. @}}}
  86. @fi
  87. @}}}
  88. @fi
  89. @if-using ( complete )
  90. @{{{  @fillpara-ref Hooks
  91. @if-using ( complete )
  92. The library uses begin-prompt-macro and end-prompt-macro.
  93.  
  94. Defining the Tag FORCE-DOT-SPACES will always use 2 spaces after `.',
  95. if block filling is not active.
  96.  
  97. The wrap-word macros are delared as demand-loading.
  98. @fi
  99. @}}}
  100. @fi
  101. @}}}
  102.